module Siteadmin::UsersHelper
	def password_form_column(record, input_name)
		password_field :record, :password, :name => input_name, :class => 'active_scaffold'
	end

	def password_confirmation_form_column(record, input_name)
		password_field :record, :password_confirmation, :name => input_name, :class => 'active_scaffold'
	end

	def role_form_column(record, input_name)
		#select :record, :role, :name => input_name#, options_for_select(User::ROLES)
		select :record, :role, options_for_select(User::ROLES, record.role)
	end
end
